<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css">
        .yes-tip,.no-tip {display: none;}
        .canvas .yes-tip{color:green;display: block;}
        .no-canvas .no-tip{color:red;display: block;}
    </style>
    <script type="text/javascript" src="modernizr.min.js"></script>
</head>

<body>
<div class="yes-tip">支持</div>
<div class="no-tip">不支持</div>
</body>
</html>